<!DOCTYPE html>

<!--<html>
    <head>
	    <title></title>
    </head>
    <body> 
    	<?=form_open_multipart(base_url().'admin.php/upload/upload_file')?>
		<?=form_upload('file')?>
		<?=form_submit('submit', 'Upload')?>
    	<?=form_close()?>
    </body>
</html> --> 
<form class="well form-horizontal span8" action="<?php echo base_url() . "admin.php/upload/upload_file" ?>" method="post"
            accept-charset="utf-8" enctype="multipart/form-data">
    <legend>SUBIR ARCHIVO DE PAGOS</legend>
        <div class="control-group">
            <label class="control-label" for="select01">PERIODO ACTUAL</label>
            <div class="controls ">
                <select name="ide_per" class="span3" autofocus>
                            <?php
                            foreach ($periodos as $i => $per) {
                                echo ("<option value='" . $per["ide_lec"] ."'>");
                                echo ($per["descripcion_lec"] . "</option>");
                            }
                            ?>
                </select>

            </div>
        </div>
    

                <div class="control-group">
                  <label class="control-label" for="input02">NUMERO DE LA CUENTA</label>
                  <div class="controls">
                      <select  id="select01"  class="span3" name="nom_doc_pago">
          <?php
          foreach ($cuentas as $k => $cuenta) {
              echo ("<option value='" . $cuenta["cuenta1_inst"] . "'/>");
              echo ($cuenta["cuenta1_inst"] . "-" . $cuenta["banco1_inst"] . "</option>");
              echo ("<option value='" . $cuenta["cuenta2_inst"] . "'/>");;
              echo ($cuenta["cuenta2_inst"] . "-" . $cuenta["banco2_inst"] . "</option>");
              echo ("<option value='" . $cuenta["cuenta3_inst"] . "'/>");;
              echo ($cuenta["cuenta3_inst"] . "-" . $cuenta["banco3_inst"] . "</option>");
          }
          ?>

                      </select>

                  </div>
              </div>
        <div class="control-group">
        <label class="control-label" for="select03">CUOTA</label>
        <div class="controls ">
            <select name="couta" class="span2"> 
                <option value="1">PRIMERA</option>
                <option value="2">SEGUNDA</option>
                <option value="3">TERCERA</option>
                <option value="4">CUARTA</option>
                <option value="5">QUINTA</option>
                <option value="6">SEXTA</option>
                <option value="7">SEPTIMA</option>

            </select>


        </div>
    </div>  
        <div class="control-group">
            <label class="control-label" for="select01">INCLUIR</label>
            <div class="controls ">
                <select name="ide_proc" class="span3" autofocus>
                <option value="0">NINGUNO</option>
                <option value="8">PROCESO TITULACION</option>
                </select>

            </div>
        </div>
        <div class="control-group">
        <label class="control-label" for="select03">CUOTA INCLUIR</label>
        <div class="controls ">
            <select name="cout_proc" class="span2"> 
                <option value="1">PRIMERA</option>
                <option value="2">SEGUNDA</option>
                <option value="3">TERCERA</option>
                <option value="4">CUARTA</option>

            </select>


        </div>
    </div>  


        <div class="control-group">
        <div class="controls ">
            <input type="checkbox" name="verifica" value="" checked="checked" />SOLO VERIFICAR
        </div>
    </div>  
    
    <div class="control-group">
        <div class="controls">
            <input type="file" class="input-medium span4"  name="file" value= "">

        </div>
    </div>
    <div class="controls">
        <button type="submit" class="btn">Subir Archivo</button>
    </div> 
    

</form>

